﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WebSvrUpdaterCore.Models
{
    public class SiteInfoExtendModel
    {
        /// <summary>
        /// 站点Id
        /// </summary>
        public long SiteId { get; set; }

        /// <summary>
        /// web文件包下载地址
        /// web文件包必须是zip压缩文件
        /// </summary>
        public string WebPacketUrl { get; set; }

        /// <summary>
        /// web文件包md5值
        /// </summary>
        public string WebPackMd5 { get; set; }

        /// <summary>
        /// 决定站点版本的文件
        /// </summary>
        public string WebAssemblyFileName { get; set; }

        /// <summary>
        /// 站点版本信息
        /// </summary>
        public string WebVersion { get; set; }

        /// <summary>
        /// 执行操作指令前的命令
        /// </summary>
        public string BeforExecCommands { get; set; }


        /// <summary>
        /// 执行操作指令后的命令
        /// </summary>
        public string AfterExecCommands { get; set; }

        /// <summary>
        /// 执行http get 测试web站点
        /// </summary>
        public string TestAction { get; set; }

    }
}
